package edu.sctu.zhoumengxue.day201505.day20150510;

/**
 * Created by user12 on 2015/5/10.
 */
public class CreationMain {
    public static void main(String[] args) {

        CreationOne creationOne = new CreationOne(10);
        int num = creationOne.isFor(creationOne);
        System.out.println(num);

        CreationTwo creationTwo = new CreationTwo(100);
        int number = creationTwo.isFor(creationTwo);
        System.out.println(number);
    }

}
